const ejs = require('ejs');

ejs.renderFile('./views/1.ejs',{
    name:'Z^T',
    json: {arr: [
            {user: 'blue', pass: '123456'},
            {user: 'zhangsan', pass: '654321'},
            {user: 'xiaoming', pass: '999999'},
        ]},
    type:'admin'
},function (err,data) {
    console.log(data)
})